package com.heart.house.api.model;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.Date;

@Data
public class User implements Serializable {

    private static final long serialVersionUID = -5639859118069418837L;
    private Long id;

    private String email;

    private String phone;

    private String name;

    private String passwd;

    private String confirmPasswd;

    private Integer type;//普通用户1，经纪人2

    private Date createTime;

    private Integer enable;

    private String avatar;

    @JSONField(deserialize = false, serialize = false)
    private MultipartFile avatarFile;
    private String newPassword;
    private String key;
    private Long agencyId;
    private String aboutme;
    private String enableUrl;
    private String token;
}
